package com.gtenacg.cartoonservice.mapper;

import com.gtenacg.cartoonservice.pojo.model.RelationNovelType;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86198
* @description 针对表【gt_relation_novel_type(小说类型联系表)】的数据库操作Mapper
* @createDate 2024-05-22 08:46:33
* @Entity com.gtenacg.cartoonservice.pojo.model.RelationNovelType
*/
@Mapper
//@CacheNamespace
public interface RelationNovelTypeMapper {

    List<RelationNovelType> list();

    List<RelationNovelType> search(
            @Param("nid") Integer nid,
            @Param("ntid") Integer ntid
    );

    List<RelationNovelType> getByNids(List<Integer> nids);

    List<RelationNovelType> getByTids(List<Integer> tids);

    void insert(RelationNovelType relationNovelType);

    void update(RelationNovelType relationNovelType);

    void delete(List<Integer> ids);
}




